package com.ss.android.article.base.feature.update.activity;

import android.view.View;

import com.ss.android.article.base.feature.app.a.ArticleConstants;
import com.ss.android.article.base.feature.user.social.ReportActivity;
import com.ss.android.common.util.UrlBuilder;

final class j implements View.OnClickListener {
    private final g a;

    j(g arg1) {
        this.a = arg1;

    }

    public final void onClick(View arg8) {
        UrlBuilder v1;
        int v6 = 2;
        long v4 = 0;
        g v0 = this.a;
        if(v0.k != null) {
            if(5 == v0.h) {
                if(v0.e > v4 && v0.d > v4 && v0.k.mUserId > v4) {
                    v1 = new UrlBuilder(ArticleConstants.feedbackWapListReportUserUrl);
                    v1.addParam("user_id", v0.k.mUserId);
                    v1.addParam("comment_id", v0.e);
                    v1.addParam("update_id", v0.d);
                    v1.addParam("source", v6);
                    ReportActivity.a(v0.getContext(), v1.build());
                }
            }
            else if(v0.d > v4 && v0.k.mUserId > v4) {
                v1 = new UrlBuilder(ArticleConstants.feedbackWapListReportUserUrl);
                v1.addParam("user_id", v0.k.mUserId);
                v1.addParam("update_id", v0.d);
                v1.addParam("source", v6);
                ReportActivity.a(v0.getContext(), v1.build());
            }
        }
    }
}

